package com.demo.service.riot;

public class RegionTransfer {
    public static String getRegion(String serverRegion)
    {
        switch(serverRegion){
            case "br1":
            case "la1":
            case "la2":
            case "na1":
            case "oc1":
                return "americas";
            case "eun1":
            case "euw1":
            case "tr1":
            case "ru":
                return "europe";
            case "jp1":
            case "kr":
            case "sg2":
            case "tw2":
            case "vn2":
            case "me1":
                return "asia";
            default:
                return "americas";
        }
    }
}
